package com.zzu.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzu.base.controller.permission.vo.PermissionPageReqVO;
import com.zzu.base.entity.PermissionDO;

import java.util.List;


public interface PermissionService extends IService<PermissionDO> {
    Boolean removePermission(Long id);
    Boolean update(PermissionDO permission);
    IPage<PermissionDO> getPermissionPage(PermissionPageReqVO permissionPageReqVO);
}
